<?php

/**
 * @author Christoph Vieth <mail@christoph-vieth.de>
 */
include_once 'modules/module.php';

class moduleMobile extends module {

    public $renderEngine;
    public $templateData;

    public function __construct() {
        
    }

    public function run($param = NULL) {
        // Initialize module
        parent::__construct('HTML');
        $this->templateData['pageTemplate'] = 'page_mobile';
        $this->templateData['pageTitle'] = 'my-DX600A';
        $this->templateData['pageMeta']['viewport'] = 'width=device-width, initial-scale=1';
        $this->templateData['pageMeta']['keywords'] = 'cti, dx600a, serial';
        $this->templateData['pageCSS'][] = CSS_MOBILE;
        $this->templateData['pageCSS'][] = CSS_JQUERY_MOBILE;
        $this->templateData['pageScript'][] = SCRIPT_JQUERY;
        $this->templateData['pageScript'][] = SCRIPT_JQUERY_MOBILE;
        
        // Get Data
        /*
        include('classes/dx600a.php');
        $my_phone = new dx600a();
        $my_phone->obexConnect();
        $this->templateData['phoneSerial'] = $my_phone->obexGetSerial();
        $my_phone->obexDisconnect();
        unset($my_phone);
         *
         */
    }

}

?>
